function getSubjectMsgByPage(topic_id,menuId){
		
		var params = "topic_id="+topic_id+"&id="+menuId;
		var pageUrl='../WebSubject/querySubjectMsgPage.htm';				
		$("#paging").asynPage(pageUrl,params,'#tbodyPage',buildHtml,10,'rows','total');	
	}
	
//异步分页
function buildHtml(data){	
	var str ="";
	
	if(data!=null && data.length>0){		    		
		for (var i=0;i<data.length;i++)
		{
			var d = data[i].createTime;
			 var test = new Date(parseInt(d));  
			 var _year = test.getFullYear();  
			 var _month = parseInt(test.getMonth())+1;  
			 var _day = test.getDate();  
			 var href = "../WebSubject/detailMsgPage.htm?id="+data[i].id+"&menu_id=" +data[i].menu_id;
 			if(data[i].isLink == '1')
 			{
 				href=data[i].linkURL;
 			}
			 
			str+="<li class='col-md-11 '><a href='"+href+"' target='_blank' title='"+data[i].title+"'>"+data[i].title+"</a><span>"+_year+"-"+_month+"-"+_day+"</span></li>";
			
		}
		$("#tbodyPage").append(str);			    		
	}else{
		$("#tbodyPage").append('没有符合条件的数据!');
	}			
}
